package com.linln.modules.business.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.linln.modules.business.domain.AttendanceApply;
import org.apache.ibatis.annotations.Param;

/**
 * @author chaunceyzhong
 */
public interface MapperAttendanceApply extends BaseMapper <AttendanceApply>{

    /**
     * 获取我的加班申请
     *
     * @param iPage
     * @param userId
     * @return
     */
    IPage<AttendanceApply> getMyAttendanceApply(IPage iPage,@Param("userId") Long userId);

    /**
     * 获取加班审批记录
     *
     * @param iPage
     * @param userId
     * @return
     */
    IPage<AttendanceApply> getMyAttendanceApplyAudition(IPage iPage,@Param("userId") Long userId);
}
